package com.itl.lesson02.dao;

import com.alibaba.fastjson.JSON;
import com.itl.lesson02.dto.HuGuang;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @author 胡广
 * @date 2020-11-04
 * @since JDK1.8
 */
public interface HuGuangDao {

    void  add(HuGuang huGuang);

    HuGuang  get(String code);

    void  remove(String code);


}
